package com.kscrm.web.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.kscrm.web.mapper.ProjectChannelMapper;
import com.kscrm.web.domain.ProjectChannel;
import com.kscrm.web.service.IProjectChannelService;

/**
 * 项目归属渠道Service业务层处理
 * 
 * @author Dhq
 * @date 2025-07-09
 */
@Service
public class ProjectChannelServiceImpl implements IProjectChannelService 
{
    @Autowired
    private ProjectChannelMapper projectChannelMapper;



    /**
     * 查询项目归属渠道列表
     * 
     * @param projectChannel 项目归属渠道
     * @return 项目归属渠道
     */
    @Override
    public List<ProjectChannel> selectProjectChannelList(ProjectChannel projectChannel)
    {
        return projectChannelMapper.selectProjectChannelList(projectChannel);
    }

    @Override
    public int insertProjectChannel(ProjectChannel projectChannel){
        return projectChannelMapper.insertProjectChannel(projectChannel);
    }

    @Override
    public void deleteProjectChannelByProjectId(Long projectId)
    {
        projectChannelMapper.deleteProjectChannelByProjectId(projectId);
    }


}
